<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="author" content="lijinbo" />
    <meta name="description" content="浏览器自带的ajax请求" />
    <title>001-fetch</title>
    <style>
      #tips {
        padding: 16px;
        font-size: 20px;
        color: rgb(72, 173, 56);
      }
    </style>
    <script type="module" crossorigin src="../../../../static/js/001-index.html-432c3aec.js"></script>
    <link rel="modulepreload" crossorigin href="../../../../static/common/modulepreload-polyfill-3cfb730f.js">
  </head>

  <body>
    <div class="box">
      <h2>更多 fetch api 信息</h2>
      <a target="_blank" href="https://developer.mozilla.org/zh-CN/docs/Web/API/Fetch_API/Using_Fetch">MDN fetch api</a>

      <h2>简单的 fetch 封装 mc-fetch</h2>
      <a target="_blank" href="./mc-fetch-test.html"> mc-fetch </a>

      <h2>基于 fetch 的二次封装 umi-request</h2>
      <a target="_blank" href="https://github.com/umijs/umi-request"> github umi-request </a>

      <h2>fetch 请求如何取消</h2>
      <a target="_blank" href="https://q.shanyue.tech/fe/dom/502.html#_002-fetch-使用-abortcontroller">
        002 fetch 使用 AbortController
      </a>

      <a target="_blank" href="https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal">AbortController</a>

      <div id="tips"></div>

      <hr />
      <ul id="app"></ul>
    </div>
    
  </body>
</html>
